package com.yjx.gulimall.common.vo.product;

import com.baomidou.mybatisplus.annotation.TableId;
import com.yjx.gulimall.common.valid.AddGroup;
import com.yjx.gulimall.common.valid.UpdateGroup;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.io.Serializable;

/**
 * @author zhuyingcoder
 * @version 1.0
 * @date 2022-03-21 19:47
 */
@Data
public class CategoryBrandVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "ID不能为空", groups = {UpdateGroup.class})
    @Null(message = "ID必须是Null", groups = {AddGroup.class})
    private Long id;

    /**
     * 品牌名称
     */
    private String brandName;
    /**
     * 分类名称
     */
    private String catelogName;



}
